﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PegasCompany.SiteMembership.Interface
{
	public interface IRoleService
	{
		bool AdminExists();
		
		void AddUsersToRoles(string[] usernames, string[] rolenames);
		
		void RemoveUsersFromRoles(string[] usernames, string[] rolenames);
		
		void CreateRole(string roleName, string roleDescription);
		
		bool RoleExists(string roleName);

		bool IsUserInRole(string email, string roleName);

		string[] GetUsersInRole(string roleName);
	}
}
